﻿using System.Data.Linq;
using Rachmans.Sabang.Model;

namespace Rachmans.Sabang
{
    public class BookmarkContext : DataContext
    {
        // Specify the connection string as a static, used in main page and app.xaml.
        public static string DBConnectionString = "Data Source=isostore:/Bookmark.sdf";

        // Pass the connection string to the base class.
        public BookmarkContext(string connectionString)
            : base(connectionString)
        { }

        // Specify a single table for the to-do items.
        public Table<Bookmark> Bookmarks;
    }
}
